var json =[{
"id": 1,
"name": "浙江省",
"child": [{
    "id": "1",
    "name": "杭州市",
    "child": [{
        "id": 1,
        "name": "滨江区"
    }, {
        "id": 2,
        "name": "西湖区"
    }, {
        "id": 2,
        "name": "余杭区"
    }, {
        "id": 2,
        "name": "留下区"
    }]
}, {
    "id": "2",
    "name": "宁波市",
    "child": []
}, {
    "id": "3",
    "name": "温州市",
    "child": []
}]
}, {
"id": 2,
"name": "江苏省",
"child": [{
    "id": "1",
    "name": "南京",
    "child": [{
        "id": 1,
        "name": "解放区"
    }]
}]
}, {
"id": 3,
"name": "湖北省"
}];